srcs:=server/worker.c server/main.c server/tcpInit.c server/sendfd.c server/epoll.c server/transFile.c
objs:=$(srcs:%.c=%.o)
all:client/client server/server test/test
client/client:client/client.c
	gcc $^ -o $@ -g -pthread
test/test:test/test.c
	gcc $^ -o $@ -g -pthread
server/server:$(objs)
	gcc $^ -o $@ -pthread
%.o:%.c
	gcc -c $^ -o $@ -g 
clean:
	$(RM) test/test client/client server/server $(objs)
